<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script  type="text/javascript" src="/js/vue.js"></script>
</head>
<body>
    <div id="root">


        <div @click="handleClick">{{content}}</div>
    </div>
    <script>
        new Vue({
            el: "#root",

            data:{
               content: "Hello word"
            },
            methods: {
                handleClick:function(){
                    this.content="world"
                }
            }
        })
    </script>
</body>
</html>